const TONKENKEY = 'token_key'

function setToken(token) {
  localStorage.setItem(TONKENKEY, token)
}

function getToken() {
  return localStorage.getItem(TONKENKEY)
}

function removeToken() {
  localStorage.removeItem(TONKENKEY)
}

export { setToken, getToken, removeToken }
